package controller;

import java.io.File;
import java.io.IOException;

import model.Ball;
import model.Board;
import model.GizmoParser;

public class MainProgram {
	public static void main(String[] args) throws IOException {
		
		int L = 25;
		
		Board board = new Board(L);
		GizmoParser.readFile(L, new File("layouts/gizmoball.txt"), board);
		Ball ball = new Ball(L);
		
		ApplicationWindow frame = new ApplicationWindow(ball, board); 
		frame.pack();
		frame.setVisible(true);

		
	}
}
